package com.gitee.wsl.ext.bitcode

val UByte.upperNibble get() = (this.toInt() shr 4 and 0b1111).toUShort()

val UByte.lowerNibble get() = (this.toInt() and 0b1111).toUShort()

val Byte.upperNibble get() = (this.toInt() shr 4 and 0b1111).toShort()

val Byte.lowerNibble get() = (this.toInt() and 0b1111).toShort()

